<!-- <?php 
echo $_GET['qishu'];

?> -->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
 <head> 
  <meta charset="utf-8" /> 
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> 
  <meta name="description" content="" /> 
  <meta name="author" content="" /> 
  <!--<meta http-equiv="refresh" content="60">-->
  <!--[if IE]>
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<![endif]--> 
  <title>首页</title> 
  <!-- BOOTSTRAP CORE STYLE  --> 
  <link href="__STATIC__/index/css/bootstrap.css" rel="stylesheet" /> 
  <!-- FONT AWESOME STYLE  --> 
  <link href="__STATIC__/index/css/font-awesome.css" rel="stylesheet" /> 
  <!-- CUSTOM STYLE  --> 
  <link href="__STATIC__/index/css/style.css" rel="stylesheet" />
  <link rel="stylesheet" type="text/css" href="__STATIC__/index/css/normalize.css" />
  <link rel="stylesheet" type="text/css" href="__STATIC__/index/css/default.css">
   <script src="__STATIC__/index/js/jquery.min.js"></script>
<style>
.navbar-toggle .icon-bar{
	width:15px;
}
#menu-top{
	background: #f7f7f7;
	padding:5px;
	padding-left:10px;
	display: none;
}
#menu-top li{
	margin-bottom:5px;
	
}
#menu-top li a{
	padding:2px 0;
	text-align: left;
}

#game-title{
	font-size: 16px;
}
#login{
	padding:4px 7px;
}
#register{
	margin-left:5px;
	padding:4px 7px;
}
.login-left{
	float:right;
	padding: 3px 10px 0 0;
	height:30px;
}
.money{
	margin-left:4px;
	color:green;
	padding-top:7px;
	word-break:break-all;
	word-wrap:break-word;
	padding-left:0px;
	padding-right:0px;
	font-size:14px;
	margin-left:16%;
	padding-bottom:0;
	height:20px;
}

.yonghu{
	float: left;
	font-size: 18px;
	line-height: 20px;
	color:#777;
	word-break:break-all;
	word-wrap:break-word;
	margin-left:15%;
	padding-top:7px;
	font-size:14px;
}

/*兼容6*/
@media (max-width:375px){
	#game-title{
		font-size: 15px;
	}

	#login{
		padding:2px 5px;
	}
	#register{
		margin-left:3px;
		padding:2px 5px;
	}
	.login-left{
		padding: 5px 10px 0 0;
	}
	.money{
		margin-left:10%;
	}
}

/*兼容5S*/
@media (max-width:320px){
	#game-title{
		font-size: 15px;
	}

	#login{
		padding:2px 5px;
	}
	#register{
		margin-left:3px;
		padding:2px 5px;
	}
	.login-left{
		padding: 5px 8px 0 0;
	}
	.money{
		margin-left:5%;
	}
	.yonghu{
		margin-left:5%;
	}
}

</style>
<div class="navbar navbar-inverse set-radius-zero" style="min-height:35px;height:37px;">
	<div class="container" style="height:35px;">
		<div class="navbar-header"  style="height:35px;">
			<a class="navbar-brand" style="padding:0" href="{:url('index/index/index')}">
				<!-- <img src="__STATIC__/index/logo.jpg" style="width:30px;height:30px;position:absolute;margin:0px 0px;top:3px;left:4px;" /> -->
			</a>
			<span id="game-title" style="float: left;margin-left: 40px;margin-top:5px;font-size: 13px">幸运理财 &nbsp;<a href="{:url('index/index/index')}" style="font-size: 13px;">首页</a></span>	&nbsp;		

		<!-- <div class="right-div">
			<a href="#" class="btn btn-danger pull-right">LOG ME OUT</a>
		</div> -->
	</div>
</div>
<!-- LOGO HEADER END-->


 <script>

var width = $(window).width();

//var ipone5 = 320;
//var ipone6 = 375;
//var ipone6P = 414;
//if(width<=ipone6 && width>ipone5){
	//$(".money").css({marginLeft:'15%'});
//}
//if(width<=ipone6P && width>ipone6){
	//$(".money").css({marginLeft:'20%'});
//}


$('.navbar-toggle').click(function(){
	if($('#menu-top').css('display')=='none'){
		$('#menu-top').show();
	}else{
		$('#menu-top').hide();
	}
	
});

 </script>
 
  <div class="content-wrapper" style="margin-top:0;padding:0;min-height: 500px;"> 
   <div class="container"> 
    <div class="row"> 
     <div class="col-md-12" style="padding:0;text-align: center;"> 
              <h3 style="font-size: 18px;font-weight: bold;">是否确认下注</h3>
              <form action="{:url('index/orders/index',['qishu'=>$_GET['qishu'],'money'=>$_GET['money'],'updown'=>$_GET['updown']])}" method="post">	
              <p><button type="submit" class="btn btn-success" id="btn">确认</button> <a href="{:url('index/index/index')}" class="btn btn-danger" >取消</a></p>
              </form>
     </div>
    </div> 
   </div> 
  </div> 
  <!-- CONTENT-WRAPPER SECTION END--> 

  <!-- FOOTER SECTION END--> 
  <!-- JAVASCRIPT FILES PLACED AT THE BOTTOM TO REDUCE THE LOADING TIME  --> 
  <!-- CORE JQUERY  --> 
  <!-- BOOTSTRAP SCRIPTS  --> 
 </body>
</html>
<script type="text/javascript">
	$("#btn").click(function(){
		var del = confirm("你确定要下注吗？");
        if(del == false){
          return false;
        }  
	})
</script>
<!-- <script type="text/javascript">
	$("#btn").click(function(){
	    var nexts = {:input('param.qishu')};
	    var money = {:input('param.money')};
	    var updown = {:input('param.updown')};
	    var uid = {:input('param.uid')};
		$.post('{:url('index/orders/index')}',{qishu:nexts,money:money,updown:updown,uid:uid},function(data) {
			   alert(data);
	          if(data== 601){
	          	alert("请求失败");
		      	location.href="{:url('index/index/index')}";
		      }else if(data == 101){
		      	alert("账户余额不足");
		      	location.href="{:url('index/index/index')}";
		      }else if(data == 103){
		      	alert("已经封盘不能进行下注");
		      	location.href="{:url('index/index/index')}";
		      }else if(data == 102){
		      	alert("下注失败");
		      	location.href="{:url('index/index/index')}";
		      }else{
		      	/*location.href="{:url('index/index/index')}";*/
		    }                   
      });
		location.href="{:url('index/index/index')}";
   });
</script> -->